package stats

import (
	"gitee.com/saxon134/sysmain/errs"
	"github.com/saxon134/go-utils/saLog"
)

type client struct {
	app  string
	host string
}

var _client *client

func Init(host, app string) {
	if host == "" || app == "" {
		saLog.Err("Stats error:", errs.ErrorParams.Error())
		return
	}

	_client = &client{
		app:  app,
		host: host,
	}
}
